package ma.coursEnsao.designPatern.singleton;


public class Main {
	public static void main(String[] args){
		Singleton instance = Singleton.getInstance();
		Singleton instance2 = Singleton.getInstance();
		if(instance == instance2){
			System.out.println(instance);
			System.out.println(instance2);
		}
 

	
	ClassTest s = new ClassTest();
	if(s == new ClassTest() ){
		System.out.println("ClassTest est unique ");
	}
	
}
}